<%-- 
    Document   : index
    Created on : Dec 11, 2014, 12:04:42 AM
    Author     : bernadelli
--%>

<%@page import="java.util.Date"%>
<%@page import="java.text.SimpleDateFormat"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Aula 1</title>
    </head>
    <body>
        <h1>JSP & Servlet</h1>
        <form name="form1" action="MeuServlet" method="POST">
            Nome: <input type="text" name="nome" value="" size="20" />
            Sobrenome: <input type="text" name="sobrenome" value="" size="20" />
            Email: <input type="text" name="email" value="" size="30" />
            <input type="submit" value="Enviar" name="btn_Enviar" />
        </form>
        <br>
        ${nomecompleto}
        Agora são: <%= new SimpleDateFormat("hh:mm:ss").format(new Date())%>
    </body>
</html>
